<template>
  <div id="app">
    <BaseCount @changeCount="handleChange" :count="count"></BaseCount>
  </div>
</template>

<script>
import BaseCount from './components/BaseCount.vue'
export default {
  components: {
    BaseCount
  },
  data() {
    return {
      count: 999
    }
  },
  methods: {
    handleChange(newCount) {
      this.count = newCount
    }
  },
}
</script>

<style>
</style>
